package com.ruoyi.system.mapper.app;

import com.ruoyi.system.domain.app.Participation;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ParticipationMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Participation record);

    int insertSelective(Participation record);

    Participation selectByPrimaryKey(Long id);

    Participation getByOrderNum(String orderNum);

    List<Participation> operatorMoneyList(@Param("operatorId") Long operatorId,@Param("orderNum")String orderNum);

    Map operatorMoneyIndex(Long operatorId);

    List<Participation> getNotDivide();

    int updateByPrimaryKeySelective(Participation record);

    int updateByPrimaryKey(Participation record);
}